class Person:
    def __init__(self,name,age,sex):
        self.name=name
        self.age=age
        self.sex=sex
    def setName(self,name):
        self.name=name
    def getName(self,name):
        return self.name
    def setAge(self,age):
        self.age=age
    def getAge(self,age):
        return self.age
    def setSex(self,sex):
        self.sex=sex
    def getSex(self,sex):
        return self.sex
    def show(self):
         return 'name:{0},age:{1},sex:{2}'.format(self.name,self.age,self.sex)
a = input('请输入名字:')
b = input('请输入年龄:')
c = input('请输入性别:')
d1=Person(a,b,c)
print(d1.show())